﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>礼券管理系统</title>
<script language="JavaScript" type="text/javascript">
var thisPageTimeID = null;
window.onload = function(){
    if(thisPageTimeID == null){
        thisPageTimeID = setInterval("forwhile_setfocus()", 1000);
    }
    var myfrmset = document.getElementById("con");
    if(myfrmset != null){
        myframe = document.getElementById("leftFrame");
        if(myframe != null){
            myframe.style.display="none";
            myfrmset.cols = "0,*";
        }
    }
}
function forwhile_setfocus() {
    var mfFrame = document.getElementById('mainFrame');
    var str = mfFrame.getAttribute('src', 0);
    if(str == 'MenDianReg.aspx'){
        var myform =  window.parent.mainFrame.document.mdregform;
        if(myform != null){
            var bcedit = myform.txtTiaoMaEdit;
            if(bcedit != null) {
                bcedit.focus();
            }
        }
    }
}
</script>
</head>

<frameset rows="100,*"  frameborder="0" border="0" frameSpacing="0">
	<frame id="topFrame" src="top.aspx" scrolling="no" noresize framespacing="0"/>
	<frameset id='con' cols="0,*" frameborder="1" frameSpacing="2" bordercolor="#eeeeee">
		<frame id = "leftFrame" name="leftFrame" src="left2.html" scrolling="no" framespacing="0" frameborder="no"/>
		<frame id = "mainFrame" name="content" src="MenDianReg.aspx" scrolling="yes" frameborder="no" framespacing="0"/>
	</frameset>
</frameset>	
</html>
